package com.yc.boot.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yc.boot.common.model.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 杨智杰
 * @since 2021/8/17 15:14
 */
@Data
@Accessors(chain = true)
@TableName("sys_role")
public class SysRole extends BaseEntity {

    @TableField("name")
    @ApiModelProperty(value = "角色名")
    private String name;

    @TableField("status")
    @ApiModelProperty(value = "当前状态")
    private Integer status;

    @TableField("is_default")
    @ApiModelProperty(value = "默认角色")
    private Boolean isDefault;
}

